import request from '@/utils/request'

// 查询数据库信息
export function getDBInfo() {
    return request({
        url: '/aitcommon/dashboard/dbinfo',
        method: 'get',
    })
}

// 查询AIT日志信息
export function getAITLogInfo() {
    return request({
        url: '/aitcommon/dashboard/aitlog',
        method: 'get',
    })
}

// 查询AIT任务信息
export function getJobInfo() {
    return request({
        url: '/aitcommon/dashboard/job',
        method: 'get',
    })
}

// 查询AIT版本信息
export function getVersionInfo() {
    return request({
        url: '/aitcommon/dashboard/aitversion',
        method: 'get',
    })
}

// 查询AIT runtime信息
export function getRuntimeInfo() {
    return request({
        url: '/aitcommon/dashboard/runtime',
        method: 'get',
    })
}